{{extend 'layout.html'}}
{{import os}}

<h1>web2py<sup style="font-size:0.5em;">TM</sup> Download</h1>
Current {{=request.env.web2py_version}}
<ul>
<li><a href="http://mdp.cti.depaul.edu/examples/static/web2py_win.zip">for Windows</a></li>
<li><a href="http://mdp.cti.depaul.edu/examples/static/web2py_osx.zip">for Mac</a></li>
<li><a href="http://mdp.cti.depaul.edu/examples/static/web2py_src.zip">source code</a> for all platforms (requires Python 2.5, runs on Windows and most Unix systems, including <b>Linux</b> and <b>BSD</b>)</li>
<li><a href="http://launchpad.net/~mdipierro/web2py/devel">latest development snapshot for BZR</a></li>
<li><a href="http://code.google.com/p/web2py/">latest development snapshot for SVN</a></li>
<li>Production Distribution/VMWare appliance (coming soon)</li>
</ul>

<h2>Instructions</h2>
<p>After download, unzip it and click on web2py.exe (windows) or web2py.app (osx). 
To run from source type:</p>
{{=CODE("python2.5 web2py.py",language=None,counter='>')}}
<p>or for more info type:</p>
{{=CODE("python2.5 web2py.py -h",language=None,counter='>')}}


<h2>Caveats</h2>
<p>After installation, every time you run it, web2py asks you to choose a password. This password is your administrative password. If the password is left blank, the administrative interface is disabled. The administrative interface /admin/default/index is only accessible via localhost and always requires a password.<br/>Any url /a/b/c maps into a call to application a, controller b.py and function c in that controller.<br/>You are strongly advised to also use Apache with mod_proxy or mod_wsgi to access applications in the framework. This allows better security and concurrency.</p>

<h2 id="license">License</h2>
<p>Web2py code is realeased under GPL v.2 License. This license does not extend to third party libraries distributed with web2py (which are all MIT or BSD type licenses) nor does it extend to applications built with web2py.</p>
<p>Applications built with web2py can be released under any license the author wishes as long they do not contain web2py code. In particular they can be bytecode compiled and distributed in closed source. The admin interface provides a button to byte-code compile.</p>
<p>It is fine to distribute web2py (source or compiled) with your applications as long as you make it clear in the license where your application ends and web2py starts.</p>
<p>web2py is copyrighted by Massimo Di Pierro. The web2py trademark is owned by Massimo Di Pierro.</p>
[<a href="{{=URL(r=request,f='license')}}">read more</a>]

<h2>Applications</h2>
<p>You can find many free and ready to use web2py applications with source code <a href="http://mdp.cti.depaul.edu/appliances">here</a>.

<h2>Stickers</h2>
<p>
<img src="{{=URL(r=request,c='static',f='powered_by/web2py_sticker_3d8799.png')}}" />
<img src="{{=URL(r=request,c='static',f='powered_by/web2py_sticker_993d3d.png')}}" />
<img src="{{=URL(r=request,c='static',f='powered_by/web2py_sticker_3d9960.png')}}" />
<img src="{{=URL(r=request,c='static',f='powered_by/web2py_sticker_993d98.png')}}" /><br/>
<img src="{{=URL(r=request,c='static',f='powered_by/web2py_sticker_463d99.png')}}" />
<img src="{{=URL(r=request,c='static',f='powered_by/web2py_sticker_99963d.png')}}" />
<img src="{{=URL(r=request,c='static',f='powered_by/web2py_sticker_996f3d.png')}}" />
<img src="{{=URL(r=request,c='static',f='powered_by/web2py_sticker_73993d.png')}}" />
</p>
